package com.ruoyi.project.system.student.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 学生信息对象 student
 * 
 * @author ruoyi
 * @date 2021-08-07
 */
public class Student extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long studentId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String studentName;

    /** 年龄 */
    @Excel(name = "年龄")
    private Integer studentAge;

    /** 基本情况 */
    @Excel(name = "基本情况")
    private String studentInfo;

    /** 性别（0男 1女 2未知） */
    @Excel(name = "性别", readConverterExp = "0=男,1=女,2=未知")
    private String sex;

    /** 课程顾问 */
    @Excel(name = "课程顾问")
    private String sales;

    /** 是否报名（1是，0否） */
    @Excel(name = "是否报名", readConverterExp = "Y=是,N=否")
    private String isSingup;

    public void setStudentId(Long studentId)
    {
        this.studentId = studentId;
    }

    public Long getStudentId()
    {
        return studentId;
    }
    public void setStudentName(String studentName)
    {
        this.studentName = studentName;
    }

    public String getStudentName()
    {
        return studentName;
    }
    public void setStudentAge(Integer studentAge)
    {
        this.studentAge = studentAge;
    }

    public Integer getStudentAge()
    {
        return studentAge;
    }
    public void setStudentInfo(String studentInfo)
    {
        this.studentInfo = studentInfo;
    }

    public String getStudentInfo()
    {
        return studentInfo;
    }
    public void setSex(String sex)
    {
        this.sex = sex;
    }

    public String getSex()
    {
        return sex;
    }
    public void setSales(String sales)
    {
        this.sales = sales;
    }

    public String getSales()
    {
        return sales;
    }
    public void setIsSingup(String isSingup)
    {
        this.isSingup = isSingup;
    }

    public String getIsSingup()
    {
        return isSingup;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("studentId", getStudentId())
            .append("studentName", getStudentName())
            .append("studentAge", getStudentAge())
            .append("studentInfo", getStudentInfo())
            .append("sex", getSex())
            .append("sales", getSales())
            .append("isSingup", getIsSingup())
            .toString();
    }
}
